const express=require("express")
const app=express()
const router=require("./router")

// /api根路径 router子路径对应
app.use("/api",router)
app.listen(3000,()=>{
    console.log('server run')
})